import { requestClient } from '#/api/request';

interface Response {
  data: {
    list: {
      account: string;
      create_at: string;
      message: string;
      name: string;
      title: string;
    };
    total: number;
  };
}
/**
 * 获取错误日志
 */
export async function getLogListApi(params: any) {
  return requestClient.get<Response['data']>('/orderLog', { params });
}
